<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>后台欢迎页</title>

    <link rel="stylesheet" href="__PUBLIC__css/bootstrap.css" />
    <link rel="stylesheet" href="__PUBLIC__css/reset.css" />
    <link rel="stylesheet" href="__PUBLIC__css/content.css" />
    <style>
        td{
            vertical-align :middle;
        }

    </style>
    <script type="text/javascript">
        function confirmd() {
            var msg = "您真的确定要删除吗?";
            if(confirm(msg)==true){
                return true;
            }else{
                return false;
            }
        }
    </script>
</head>
<body marginwidth="0" marginheight="0">
<div class="container">
    <div class="public-nav">您当前的位置：<a href="{:url('admin/Goods/adminIndex')}">管理首页</a>><a href="{:url('admin/Index/adminManegerList')}">管理员管理</a></div>
    <div class="public-content">
        <div class="public-content-header">
            <h3>查看管理员列表<a href="{:url('admin/Index/goodsAdd')}"><input type="button"  style="float:right;    margin-right: 17px;" value="新增管理员"></a></h3>
        </div>
        <div class="public-content-cont">
            <table class="public-cont-table">
                <tr>
                    <!--<th style="width:5%">选择</th>-->
                    <th style="width:5%;background-color: #c9dae4">账号id</th>
                    <th style="width:10%;background-color: #c9dae4">账号名称</th>
                    <th style="width:20%;background-color: #c9dae4">上次登录ip</th>
                    <th style="width:5%;background-color: #c9dae4">上次登录时间</th>
                    <th style="width:5%;background-color: #c9dae4">操作</th>

                </tr>
                {volist name="admin_arr" id="admin"}
                <tr>
                    <!--<td><input type="checkbox"></td>-->
                    <td>{$admin.id}</td>
                    <td>{$admin.username}</td>
                    <td>{$admin.lastIp}</td>
                    <td>{$admin.lastTime}</td>
                    <td>
                        <div class="table-fun">
                            <!--<a href="{:url('admin/Index/adminEdit'),'?id='.$admin.id}" target="content">修改</a>-->
                            <a href="{:url('admin/Index/adminDel'),'?id='.$admin.id}" onclick="return confirmd()">删除</a>
                        </div>
                    </td>
                </tr>
                {/volist}

            </table>
            <div class="page">

            </div>
        </div>
    </div>
</div>
</body>
</html>